package org.platform.executor.knowledge;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd10021.TreeModifyRequestParam;
import org.platform.mo.csmo.cmd10021.TreeModifyResponseParam;
import org.platform.service.knowledge.TreeServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/4/16
 */
@Service
public class ModifyTreeExecutor implements IMicProviderServiceExecutor<TreeModifyRequestParam, TreeModifyResponseParam> {
    @Autowired
    private TreeServiceImpl service;

    @Override
    public TreeModifyResponseParam doExecute(TreeModifyRequestParam requestParam) {
        return service.modifyTree(requestParam);
    }

}
